package com.nl.bean.input;

import java.io.Serializable;

/**
 * @author shihb
 * @date 2019/12/20 18:52
 * 广告点击的样例类-输入
 */
public class AdClickEvent implements Serializable {

  /**
   * 用户id
   */
  private long userId;
  /**
   * 广告id
   */
  private long adId;
  /**
   * 省份
   */
  private String province;
  /**
   * 城市
   */
  private String city;
  /**
   * 时间戳
   */
  private long timestamp;

  public AdClickEvent() {
  }

  public AdClickEvent(long userId, long adId, String province, String city, long timestamp) {
    this.userId = userId;
    this.adId = adId;
    this.province = province;
    this.city = city;
    this.timestamp = timestamp;
  }

  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }

  public long getAdId() {
    return adId;
  }

  public void setAdId(long adId) {
    this.adId = adId;
  }

  public String getProvince() {
    return province;
  }

  public void setProvince(String province) {
    this.province = province;
  }

  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  public long getTimestamp() {
    return timestamp;
  }

  public void setTimestamp(long timestamp) {
    this.timestamp = timestamp;
  }
}
